"""
@Project:p7_2109
@File:dev.py
@Author:马可
@Date:下午 03:22
"""

from settings.default import DefaultConfig

class DevelopmentConfig(DefaultConfig):
    DEBUG = True
    SQLALCHEMY_DATABASE_URI = 'mysql://root:123@127.0.0.1:3306/cloudnews'
    SQLALCHEMY_TRACK_MODIFICATIONS = False  # 追踪数据的修改信号
    SQLALCHEMY_ECHO = True

    # REDIS配置
    REDIS_HOST = '127.0.0.1'
    REDIS_PORT = '6379'
    REDIS_DB = 2
    REDIS_PWD = ''